package com.salon.modules.makeup.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.salon.modules.makeup.entity.BannerEntity;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 横幅表
 *
 * @author lch 12345678@qq.com
 * @since 1.0.0 2023-10-08
 */
@Mapper
public interface BannerMapper extends BaseMapper<BannerEntity> {

    IPage<BannerEntity> listBannerByPage(IPage<BannerEntity> page, @Param("query") Map<String, Object> params);

    List<BannerEntity> listBanner(@Param("query") Map<String, Object> param);

}